package com.mz.mattress.admin.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.mz.mattress.admin.api.req.OrderUseRecordBonusQueryReq;
import com.mz.mattress.admin.api.resp.BonusMonthSum;
import com.mz.mattress.api.common.Result;
import com.mz.mattress.api.entity.OrderUseTimesBonus;

public interface OrderUseTimesBonusService {

    Result<BonusMonthSum> listMonths(Long memberId, Integer type, Integer typeId, String months);

    Result<IPage<OrderUseTimesBonus>> listPage(OrderUseRecordBonusQueryReq req);

    Result<OrderUseTimesBonus> getById(Integer id);

}
